package com.umerclass.frame.ui.recycleview.adapter.viewholder;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.umerclass.frame.ui.recycleview.base.ViewHolder;

/**
 * @author jack
 */

public class FooterHolder extends ViewHolder {

    private View view;

    public FooterHolder(View itemView) {
        super(itemView);
        this.view = itemView;
    }


    public static FooterHolder createViewHolder(View itemView) {
        FooterHolder holder = new FooterHolder(itemView);
        return holder;
    }

    public static FooterHolder createViewHolder(Context context, ViewGroup parent, int layoutId) {
        View itemView = LayoutInflater.from(context).inflate(layoutId, parent,
                false);
        FooterHolder holder = new FooterHolder(itemView);
        return holder;
    }


}
